package com.eshore.norm.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author HJ
 * @date 2024/1/12 16:07
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode()
@ToString(callSuper = true)
@TableName(value = "norm_vm_security_group")
public class NormVmSecurityGroup {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField(value = "config_id")
    @ApiModelProperty(value = "资源池")
    private Long configId;

    @TableField(value = "vm_id")
    @ApiModelProperty(value = "虚机ID")
    private String vmId;

    @TableField(value = "security_group_id")
    @ApiModelProperty(value = "安全组id")
    private String securityGroupId;

    @TableField(value = "create_date")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
}
